package org.jeecg.modules.contract.review.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.contract.review.entity.BussContractRequirementReview;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.contract.review.vo.BussContractRequirementReviewGoodsVo;
import org.jeecg.modules.contract.review.vo.BussContractRequirementReviewVo;

import java.util.List;

/**
 * @Description: 合同要求评审表
 * @Author: jeecg-boot
 * @Date:   2024-05-30
 * @Version: V1.0
 */
public interface IBussContractRequirementReviewService extends IService<BussContractRequirementReview> {

    public String saveMain(BussContractRequirementReview bussContractRequirementReview, List<BussContractRequirementReviewGoodsVo> bussContractRequirementReviewGoodsVos);
    public void updateMain(BussContractRequirementReview bussContractRequirementReview, List<BussContractRequirementReviewGoodsVo> bussContractRequirementReviewGoodsVos);

    IPage<BussContractRequirementReviewVo> myPage(Page<BussContractRequirementReview> page, QueryWrapper<BussContractRequirementReview> queryWrapper);

    public void copyInfo(String oldId,String newId);
}
